import instance from '@/utils/request';

export function getdepartmanageapi(data) {
  return instance.request({
    url: "api/SysManage/GetDepartManage",
    method: "post",
    data
  })
}
export function GetShowdepartManage(data) {
  return instance.request({
    url: "api/DepartManage/GetDepartManage",
    method: "post",
    data
  })
}

export function adddepartManage(data) {
  return instance.request({
    url: "api/DepartManage/PostAddDepartManage",
    method: "post",
    data
  })
}

export function upddepartManage(data) {
  return instance.request({
    url: "api/DepartManage/PutUpdateDepartManage",
    method: "put",
    data
  })
}

export function deletedepartManage(data) {
  return instance.request({
    url: "api/DepartManage/DeleteDepartManage",
    method: "delete",
    data
  })
}
